package com.aaa.entity;

public class WarehouseDetailsQuery {
	private Integer warehouseId;
	private String goodsName;

	public Integer getWarehouseId() {
		return warehouseId;
	}

	public void setWarehouseId(Integer warehouseId) {
		this.warehouseId = warehouseId;
	}

	public String getGoodsName() {
		if(goodsName!=null && !"".equals(goodsName)){
			return "%"+goodsName+"%";
		}
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}


	@Override
	public String toString() {
		return "WarehouseDetailsQuery{" +
				"warehouseId=" + warehouseId +
				", goodsName='" + goodsName + '\'' +
				'}';
	}
}